#include"SList.h"


void SListText()
{
	SLTnode* node1 = (SLTnode*)malloc(sizeof(SLTnode));
	SLTnode* node2 = (SLTnode*)malloc(sizeof(SLTnode));
	SLTnode* node3 = (SLTnode*)malloc(sizeof(SLTnode));
	if (node1 == NULL)
		exit(1);
	if (node2 == NULL)
		exit(1);
	if (node3 == NULL)
		exit(1);
	node1->date = 1;
	node2->date = 2;
	node3->date = 3;
	node1->next = node2;
	node2->next = node3;
	node3->next = NULL;
	SLTnode* plist = node1;
	PSLTnode(plist);
}


int main()
{
	SListText();
	return 0;
}